package kibahed.uni.mdp.rlalgorithms;

import java.util.HashMap;
import java.util.Map;

import kibahed.uni.mdp.representation.*;

public abstract class ARLalgorithm {

	protected MDPField mdpField;
	protected Map<State,Action> policy;
	
	public ARLalgorithm(MDPField mdpField) {
		this.mdpField = mdpField;
		policy = new HashMap<State,Action>();
	}
	
	public abstract void calculate();

	public abstract void calculate(Position startPosition);

	public Map<State, Action> getPolicy() {
		return policy;
	}

}
